$(function() {
	$("#left").load("../common/gover-left.html");
	var param = parseQueryString().param;
	$(".ystep1").loadStep({
		size: "small",
		color: "green",
		steps: [{
				title: "事项选择"
			},
			{
				title: "服务选择"
			},
			{
				title: "信息录入"
			},
			{
				title: "寄件选择"
			},
			{
				title: "取件选择"
			},
			{
				title: "提交成功"
			}
		]
	});
	$(".ystep1").setStep(5);
	my_vue = new Vue({
		el: '#vue_info',
		data: {

		},
		methods: {

			clientExitQueue: function() {
				window.location = "selfHelpFormInput.html";
			},
			changeOp: function() {
				window.location = "scannerIndex.html"
			},
			exitProcess: function(op) {
				if(op == 'index') {
					$.showConfirm({
						'title': '',
						'content': '是否退出办理？',
						"showClose": false,
						"sureLabel": "取消",
						"cancelLabel": "退出办理",
						'cancel': this.toIndex
					});
				} else if(op == 'scanner') {
					$.showConfirm({
						'title': '',
						'content': '是否退出办理？',
						"showClose": false,
						"sureLabel": "取消",
						"cancelLabel": "退出办理",
						'cancel': this.toScanner
					});
				}
			},
			toIndex: function() {
				window.location = "index.html"
			},
			toScanner: function() {
				window.location = "scannerIndex.html"
			},
			chooseReceiveType: function(type) {
				window.location = 'selfHelpChooseReceiveTypePost.html?param=' + param + '&type=' + type;
			},
			exitAttendTo: function() {
				$.openDialog({
					'title': '',
					"showClose": false,
					'width': 824,
					'height': 460,
					'url': 'selfHelpExitChoose.html'
				});
			}
		},
		ready: function() {
			//初始化获得总页面数和列表数据

		}
	});
});